corrected unix timestamp script