Fixed movment code (Now uses server time)