just to clarify as well the code jinxy posted is reading and writing to a txt file - count.txt (feel free to correct me if am wrong) so you will also need to ensure the .txt file is chmood to the right levels

v_Ln